package org.op.nav;

import javax.swing.tree.TreeModel;

import org.op.ComponentView;
import org.op.service.WwInfoObject;

public interface NavigationView extends ComponentView {
	
	/**
	 *  Refresh the tree with a new treemodel
	 * 
	 * @param model
	 */
	public void updateModel(TreeModel model);

	/**
	 *  Get the current treemodel
	 * 
	 * @return
	 */
	public TreeModel getModel();
	
	/**
	 *  Get the ObjectData for the currently selected node
	 * 
	 * @return
	 */
	public WwInfoObject getSelectedNodeObject();

}
